Schema Evolution in Object Databases: Measuring the Performance of Immediate and Deferred Updates

نویسندگان

  • Fabrizio Ferrandina
  • Thorsten Meyer
  • Roberto Zicari
چکیده

When the schema of an object database system is modiied, the database needs to be changed in such a way that the schema and the database remain consistent with each other. This paper uses the OO1 benchmark 2], appropriately modiied, to compare the two most used approaches for transforming the database, namely the immediate and the deferred database transformation 4]. 1 Immediate vs. Lazy Database Updates When the schema of an object database system is modiied, the database needs to be changed in such a way that the schema and the database remain consistent with each other. Several object database systems ooer mechanisms to update the database: in few systems like O 2 3], ObjectStore 10], and OTGenn7] the designer has the possibility to program so called user-deened conversion functions which are associated to modiied classes in the schema and deene how objects have to be restructured. If no conversion functions are provided by the designer, the system provides default conversion functions where no programming is required. Instead, default transformation rules are applied to objects of modiied classes. Systems like Itasca 6] and Versant 12] provide only default transformation rules for transforming the database. No matter if the user intervention is permitted by the system, the main issue considered in this paper is when such conversion functions are executed, that is when the database is brought up to a consistent state wrt. the new schema. There are mainly two approaches for implementing database conversion functions: immediate and deferred 4]. In the rst case, all objects of the database are updated immediately as soon as the schema modiication is performed, whereas with the deferred approach objects are updated only when they are actually used. This paper focuses on a performance evaluation of the two mentioned approaches and identiies those parameters that innuenced most the results. 2 Experimental Results In this section we present some experimental results obtained making use of OSLOT (Object Storage with Lazy Object Transformations), an object storage system developed at the University of Frankfurt particularly implemented for schema and database evolution testing and comparison 9]. After a schema modiication, OSLOT updates the database using the algorithms deened in 4]. Section 2.1 describes the benchmark organization and Section 2.2 presents the benchmark results with respect to the immediate and the deferred database transformation. 2.1 The Benchmark Organization OSLOT is developed on top of EOS 1] using Tcl/Tk 11] and …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Object and Schema Versioning and Restructuring in Databases 1

Evolution of persistent data is a critical need for a large class of software systems, like CASE or CAD environments. So, it is quite natural for data management needs to change and for possible drawbacks in the logical database design to be highlighted. In order to satisfy these needs, the data schema must be able to change and the database must be restructured to meet the newly adopted schema...

متن کامل

An Approach For Schema Evolution in ODMG Databases

Schema evolution is the process of applying changes to a schema in a consistent way and propagating these changes to the instances while the database is in operation. However, when a database is shared by many users, updates to the database schema are always difficult. To overcome this problem, in this paper we propose a version mechanism for schema evolution in ODMG databases that preserves ol...

متن کامل

Validation of XML Document Updates Based on XML Schema in XML Databases

We study the validation of XML documents when they are updated in XML databases. An XML document can be verified by checking against an XML Schema, which contains structure and type information of XML documents. However, most of XML database systems just validate the whole XML document, but can not validate parts of it. If updates are very frequent, then validating the whole XML document will c...

متن کامل

A Unified Framework for Supporting Dynamic Schema Evolution in Object Databases

This paper addresses the design of an integrated framework for managing schema evolution. This framework is based on the adaptation and extension of two main schema evolution approaches, namely schema modification and schema versioning. The proposed framework provides an integrated environment to support different database evolution techniques (such as, modification and versions at the schema l...

متن کامل

Schema Evolution for Real - Time Object - Oriented Databases 1

It has been shown that the database schemata often experience considerable changes during the development and initial use phases of database systems for advanced applications, such as automated manufacturing and computer-aided design. An automated schema evolution system can significantly reduce the amount of work and potential errors related to schema changes. Although schema evolution for non...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995